<?xml version="1.0" encoding="utf-8" ?> 
<!-- Description         :  The description/title of the stored procedure
      RestrictedTo        :  Will only show as an option to the corresponding users
                                "9" - Available to everyone
      StoredProcedureName :  The name of the stored procedure 
      UseXSLTFile        :  true/false - If true a file with the same name needs to exist in the folder with extension xslt.
      
      Notes  1. Passing userId - To pass the user id logged in the application to the stored procedure 
                                         create a parameter of userId in the stored procedure.  You do not have 
                                       to specify that in the criteria list. 
      -->

<report Description="Award Activations (Week)" LongDescription="Award Activations (Week)" 
        RestrictedTo="786432" StoredProcedureName="" ReportingServicesReportName="AwardsActivations" 
        UseXSLTFile="false">

	<dropdowncriteria Description="Report Type" ParameterName="PeriodType" PopulateFrom="GetStaticValues" PopulateFromStaticParamValues="Key=MetricReportType" ValueColumn="StaticId" TextColumn="StaticDescription" IsRequired="true" DisplayAllChoice="false"/>
	<dropdowncriteria Description="Date From" ParameterName="PeriodStartDate" PopulateFrom="GetMetricAvailablePeriods" DependsOnControlParameterName="PeriodType" ValueColumn="PeriodStartDate" TextColumn="PeriodDescription" IsRequired="true" DisplayAllChoice="false"/>
	<dropdowncriteria Description="Date To" ParameterName="PeriodEndDate" PopulateFrom="GetMetricAvailablePeriods" DependsOnControlParameterName="PeriodType" ValueColumn="PeriodStartDate" TextColumn="PeriodDescription" IsRequired="true" DisplayAllChoice="false"/>
  
  <textcriteria Description="DomainUserId" ParameterName="DomainUserId" IsVisible="false" IsRequired="false" Type="integernumber" />
	<dropdowncriteria Description="Institution" ParameterName="Institution" PopulateFrom="GetInstitutions" ValueColumn="InstitutionId" TextColumn="Description" IsRequired="true" DisplayAllChoice="true" DefaultValue="0"/>
	<listboxcriteria Height="100" SelectionMode="Single" Description="Department" ParameterName="Department" PopulateFrom="GetDepartments" ValueColumn="DeptId" TextColumn="DepartmentChiefCode" IsRequired="false" DisplayAllChoice="true" DependsOnControlParameterName="Institution" DefaultValue="0"/>
	<listboxcriteria Height="100" SelectionMode="Multi" Description="Unit" ParameterName="Unit" PopulateFrom="GetUnits" ValueColumn="UnitId" TextColumn="Unit" IsRequired="false" DisplayAllChoice="true" DependsOnControlParameterName="Department" DefaultValue="0" />
  <listboxcriteria Height="100" SelectionMode="Single" Description="Principal Investigator" ParameterName="PrincipalInvestigator" PopulateFrom="GetPrincipalInvestigators" ValueColumn="PIId" TextColumn="PIName" IsRequired="false" DisplayAllChoice="true" DependsOnControlParameterName="Institution" DefaultValue="0" SearchParameterName="Name" />
  <listboxcriteria Height="100" SelectionMode="Single" Description="Sponsor" ParameterName="Sponsor" PopulateFrom="GetRptSponsors" ValueColumn="SponsorId" TextColumn="ShortName" IsRequired="false" DisplayAllChoice="true" DefaultValue="" SearchParameterName="Name" />
  <textcriteria Description="Fund #s (separate by commas)" ParameterName="FundNumber" IsVisible="true" IsRequired="false" Type="text"/>
	
</report>